3.3 \(\int \frac{\sinh ^2(x)}{a-a \cosh ^2(x)} \, dx\)

Optimal. Leaf size=6 \[ -\frac{x}{a} \]

[Out]

-(x/a)

________________________________________________________________________________________

Rubi [A]  time = 0.039005, antiderivative size = 6, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {3175, 8} \[ -\frac{x}{a} \]

Antiderivative was successfully verified.

[In]

Int[Sinh[x]^2/(a - a*Cosh[x]^2),x]

[Out]

-(x/a)

Rule 3175

Int[(u_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> Dist[a^p, Int[ActivateTrig[u*cos[e + f*x
]^(2*p)], x], x] /; FreeQ[{a, b, e, f, p}, x] && EqQ[a + b, 0] && IntegerQ[p]

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rubi steps

\begin{align*} \int \frac{\sinh ^2(x)}{a-a \cosh ^2(x)} \, dx &=-\frac{\int 1 \, dx}{a}\\ &=-\frac{x}{a}\\ \end{align*}

Mathematica [A]  time = 0.0003662, size = 6, normalized size = 1. \[ -\frac{x}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[Sinh[x]^2/(a - a*Cosh[x]^2),x]

[Out]

-(x/a)

________________________________________________________________________________________

Maple [C]  time = 0.013, size = 11, normalized size = 1.8 \begin{align*} -2\,{\frac{{\it Artanh} \left ( \tanh \left ( x/2 \right ) \right ) }{a}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(x)^2/(a-a*cosh(x)^2),x)

[Out]

-2/a*arctanh(tanh(1/2*x))

________________________________________________________________________________________

Maxima [A]  time = 1.06931, size = 8, normalized size = 1.33 \begin{align*} -\frac{x}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^2/(a-a*cosh(x)^2),x, algorithm="maxima")

[Out]

-x/a

________________________________________________________________________________________

Fricas [A]  time = 1.83426, size = 8, normalized size = 1.33 \begin{align*} -\frac{x}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^2/(a-a*cosh(x)^2),x, algorithm="fricas")

[Out]

-x/a

________________________________________________________________________________________

Sympy [A]  time = 1.01685, size = 3, normalized size = 0.5 \begin{align*} - \frac{x}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)**2/(a-a*cosh(x)**2),x)

[Out]

-x/a

________________________________________________________________________________________

Giac [A]  time = 1.34469, size = 8, normalized size = 1.33 \begin{align*} -\frac{x}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^2/(a-a*cosh(x)^2),x, algorithm="giac")

[Out]

-x/a